﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Init {
    import flash.events.*;
    import Engine.Managers.*;
    import Engine.Init.*;
    import Classes.util.*;

    public class LoadingInit extends InitializationAction {

        public static const INIT_ID:String = "LoadingInit";

        public function LoadingInit(){
            super(INIT_ID);
            addDependency(RuntimeVariableInit.INIT_ID);
        }
        override public function execute():void{
            LoadingManager.logSampleRate = RuntimeVariableManager.getInt("ASSET_LOG_SAMPLE_RATE", 1000);
            dispatchEvent(new Event(Event.COMPLETE));
        }

    }
}//package Init 
